<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>我的财富</title>
		<meta name="decorator" content="default"/>
		<script type="text/javascript" src="${ctxStatic }/js/wdcf.js"></script>
		<script type="text/javascript">
		$(function(){
		
			
		})
		function wyhk(id){
			windowOpen('${ctx}/my/uphkpz?hy_id=${sessionScope.hy_id }&id='+id,'up','360','150');
		} 
		</script>
	</head>
<body>
<div class="header_tit">
	<div class="header_titbox">
    	<a class="tit_home" href="${ctx }/my/index">返回账户首页</a>
        <h2 class="header_tit1">财富首页</h2>
        >
        <h3 class="header_tit2">我的财富</h3>
    </div>
</div>
<div class="wdcf_box">
	<div class="wdcf_centerbox clearfix">
    	<div class="wdcf_navleft">
        	<div class="wdcf_title">我的财富</div>
            <ul>
                <li><a href="${ctx }/my/hyxx">完善信息</a></li>               
                <li><a href="${ctx }/my/hisloan">历史借款</a></li>
                <li><a href="${ctx }/my/hislc">历史收益</a></li>
                <li><a href="${ctx }/my/fcb">发财币</a></li>
                <li><a href="${ctx }/my/message">系统消息</a></li>
                <li><a href="${ctx }/my/modpass">密码修改</a></li>
            </ul>
        </div>
        <div class="right_container">
        	<div class="account_profile clearfix">
            	<div class="pro_left clearfix">
                    <p class="greet">您好！</p>
                    <p class="tel">${sessionScope.sjhm}</p>
                    <p class="lcje_q">理财中的金额：<span>${lcje}</span></p>
                    <p class="lcje_s">预计总共收益：<span>${yjsy}</span></p>
                </div>
                <div class="pro_right">
                	<h3>可用金额：</h3>
                    <span class="tc_money">${kyje}</span>
                    <button class="tx_btn" >提现</button>
                </div>
            </div>
            <div class="wdjk_box">
                <h2>当前借款</h2>
                <c:if test="${!empty jklx_1}">
                <div class="j_downbox01 clearfix">
                	<ul class="fc_upbox">
                    	<li class="ddbox">借款单号：${jklx_1['jkdh']}</li>
                        <li class="yhbox">银行卡号：${jklx_1['yhkh']}</li>
                        <li><button class="hkj_btn" <c:if test="${jklx_1['can']=='0'}">1disabled</c:if> onclick="wyhk(${jklx_1['id']});">还款</button></li>
                    </ul>
                    <ul class="fc_downbox">
                    	<li class="jkjebox"><span>借款类型</span><strong>个人信誉借款</strong></li>
                    	<li class="jkjebox"><span>借款金额</span><strong>${jklx_1['jkje']} 元</strong></li>
                    	<li class="jksjbox"><span>借款时间</span><strong>${jklx_1['jksj']}</strong></li>
                    	<li class="hkqxbox"><span>还款期限</span><strong>${jklx_1['jkqx']} 天</strong></li>
                    	<li class="fkjebox"><span>是否放款</span><strong>${jklx_1['cwfkbs']}</strong></li>
                        <li class="fkjebox"><span>放款金额</span><strong>${jklx_1['sjfkje']} 元</strong></li>
                        <li class="jksjbox"><span>放款时间</span><strong>${jklx_1['qrr_qrsj']}</strong></li>
                        <li class="jkztbox"><span>还款申请</span><strong>${jklx_1['hksq']}</strong></li> 
                        <li class="jkztbox"><span>还款确认时间</span><strong>${jklx_1['hk_shr_shsj']}</strong></li>
                    </ul>                    
                </div>
                </c:if>
                <c:if test="${!empty jklx_2}">
                <div class="j_downbox01 j_downbox02 clearfix">
                	<ul class="fc_upbox">
                    	<li class="ddbox">借款单号：${jklx_2['jkdh']}</li>
                        <li class="yhbox">银行卡号：${jklx_2['yhkh']}</li>
                        <li><button class="hkj_btn" <c:if test="${jklx_2['can']=='0'}">disabled</c:if> onclick="wyhk(${jklx_2['id']});">还款</button></li>
                    </ul>
                    <ul class="fc_downbox">
                    	<li class="jkjebox"><span>借款类型</span><strong>个人信誉借款</strong></li>
                    	<li class="jkjebox"><span>借款金额</span><strong>${jklx_2['jkje']} 元</strong></li>
                    	<li class="jksjbox"><span>借款时间</span><strong>${jklx_2['jksj']}</strong></li>
                    	<li class="hkqxbox"><span>还款期限</span><strong>${jklx_2['jkqx']} 天</strong></li>
                    	<li class="fkjebox"><span>是否放款</span><strong>${jklx_2['cwfkbs']}</strong></li>
                        <li class="fkjebox"><span>放款金额</span><strong>${jklx_2['sjfkje']} 元</strong></li>
                        <li class="jksjbox"><span>放款时间</span><strong>${jklx_2['qrr_qrsj']}</strong></li>
                        <li class="jkztbox"><span>还款申请</span><strong>${jklx_2['hksq']}</strong></li> 
                        <li class="jkztbox"><span>还款确认时间</span><strong>${jklx_2['hk_shr_shsj']}</strong></li>
                    </ul>                    
                </div>
                </c:if>
                <c:if test="${!empty jklx_3}">
                <div class="j_downbox01 j_downbox03 clearfix">
                	<ul class="fc_upbox">
                    	<li class="ddbox">借款单号：${jklx_3['jkdh']}</li>
                        <li class="yhbox">银行卡号：${jklx_3['yhkh']}</li>
                        <li><button class="hkj_btn" <c:if test="${jklx_3['can']=='0'}">disabled</c:if> onclick="wyhk(${jklx_3['id']});">还款</button></li>
                    </ul>
                    <ul class="fc_downbox">
                    	<li class="jkjebox"><span>借款类型</span><strong>个人信誉借款</strong></li>
                    	<li class="jkjebox"><span>借款金额</span><strong>${jklx_3['jkje']} 元</strong></li>
                    	<li class="jksjbox"><span>借款时间</span><strong>${jklx_3['jksj']}</strong></li>
                    	<li class="hkqxbox"><span>还款期限</span><strong>${jklx_3['jkqx']} 天</strong></li>
                    	<li class="fkjebox"><span>是否放款</span><strong>${jklx_3['cwfkbs']}</strong></li>
                        <li class="fkjebox"><span>放款金额</span><strong>${jklx_3['sjfkje']} 元</strong></li>
                        <li class="jksjbox"><span>放款时间</span><strong>${jklx_3['qrr_qrsj']}</strong></li>
                        <li class="jkztbox"><span>还款申请</span><strong>${jklx_3['hksq']}</strong></li> 
                        <li class="jkztbox"><span>还款确认时间</span><strong>${jklx_3['hk_shr_shsj']}</strong></li>
                    </ul>                    
                </div>
                 </c:if>
                <c:if test="${!empty jklx_4}">
                <div class="j_downbox01  j_downbox04 clearfix">
                	<ul class="fc_upbox">
                    	<li class="ddbox">借款单号：${jklx_4['jkdh']}</li>
                        <li class="yhbox">银行卡号：${jklx_4['yhkh']}</li>
                        <li><button class="hkj_btn" <c:if test="${jklx_4['can']=='0'}">disabled</c:if> onclick="wyhk(${jklx_4['id']});">还款</button></li>
                    </ul>
                    <ul class="fc_downbox">
                    	<li class="jkjebox"><span>借款类型</span><strong>个人信誉借款</strong></li>
                    	<li class="jkjebox"><span>借款金额</span><strong>${jklx_4['jkje']} 元</strong></li>
                    	<li class="jksjbox"><span>借款时间</span><strong>${jklx_4['jksj']}</strong></li>
                    	<li class="hkqxbox"><span>还款期限</span><strong>${jklx_4['jkqx']} 天</strong></li>
                    	<li class="fkjebox"><span>是否放款</span><strong>${jklx_4['cwfkbs']}</strong></li>
                        <li class="fkjebox"><span>放款金额</span><strong>${jklx_4['sjfkje']} 元</strong></li>
                        <li class="jksjbox"><span>放款时间</span><strong>${jklx_4['qrr_qrsj']}</strong></li>
                        <li class="jkztbox"><span>还款申请</span><strong>${jklx_4['hksq']}</strong></li> 
                        <li class="jkztbox"><span>还款确认时间</span><strong>${jklx_4['hk_shr_shsj']}</strong></li>
                    </ul>                    
                </div>
                 </c:if>
                
            </div>
        </div>
    </div>
</div>
</body>
</html>